home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Newton / Prog / RPMDemo1.sit / RPMDemo1 / RPMDemo1 README next >
MacBinary  |  1993-08-29  |  4.1 KB  |  [TEXT/EDIT]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: RPMDemo1 README

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Aug 29 11:09:26 1993, modified Sun Aug 29 11:09:26 1993, creator Macintosh Edit, type ASCII, 3266 bytes "RPMDemo1 README" , at 0xd42 664 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[EDIT]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 52 50 4d 44 65 6d | 6f 31 20 52 45 41 44 4d |..RPMDem|o1 READM|
|00000010| 45 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |E.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 45 44 49 | 54 00 00 00 00 00 00 00 |.TEXTEDI|T.......|
|00000050| 00 00 00 00 00 0c c2 00 | 00 02 98 a8 a6 77 26 a8 |........|.....w&.|
|00000060| a6 77 26 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.w&.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 28 f2 00 00 |........|....(...|
|00000080| 52 45 41 44 4d 45 20 66 | 6f 72 20 4e 65 77 74 6f |README f|or Newto|
|00000090| 6e 20 70 72 6f 67 72 61 | 6d 20 22 52 50 4d 44 65 |n progra|m "RPMDe|
|000000a0| 6d 6f 31 22 20 20 20 20 | 20 20 20 52 6f 62 65 72 |mo1" | Rober|
|000000b0| 74 20 50 2e 20 4d 75 6e | 61 66 6f 2c 20 31 39 39 |t P. Mun|afo, 199|
|000000c0| 33 20 41 75 67 75 73 74 | 20 32 39 0d 0d 52 50 4d |3 August| 29..RPM|
|000000d0| 44 65 6d 6f 31 20 69 73 | 20 61 20 73 61 6d 70 6c |Demo1 is| a sampl|
|000000e0| 65 20 4e 65 77 74 6f 6e | 20 70 72 6f 67 72 61 6d |e Newton| program|
|000000f0| 20 70 6f 73 74 65 64 20 | 69 6e 20 73 6f 75 72 63 | posted |in sourc|
|00000100| 65 20 66 6f 72 6d 20 61 | 73 20 61 6e 20 65 78 61 |e form a|s an exa|
|00000110| 6d 70 6c 65 20 66 6f 72 | 0d 61 73 70 69 72 69 6e |mple for|.aspirin|
|00000120| 67 20 4e 65 77 74 6f 6e | 20 70 72 6f 67 72 61 6d |g Newton| program|
|00000130| 6d 65 72 73 2e 20 20 49 | 74 20 64 65 6d 6f 6e 73 |mers. I|t demons|
|00000140| 74 72 61 74 65 73 20 74 | 65 63 68 6e 69 71 75 65 |trates t|echnique|
|00000150| 73 20 66 6f 72 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |s for th|e follow|
|00000160| 69 6e 67 3a 0d 0d 2d 20 | 53 68 6f 77 20 74 77 6f |ing:..- |Show two|
|00000170| 20 66 6c 6f 61 74 65 72 | 73 20 28 70 72 6f 74 6f | floater|s (proto|
|00000180| 46 6c 6f 61 74 4e 47 6f | 20 76 69 65 77 73 29 0d |FloatNGo| views).|
|00000190| 2d 20 45 61 63 68 20 66 | 6c 6f 61 74 65 72 20 61 |- Each f|loater a|
|000001a0| 6c 6c 6f 77 73 20 74 68 | 65 20 75 73 65 72 20 74 |llows th|e user t|
|000001b0| 6f 20 69 6e 70 75 74 20 | 74 65 78 74 20 62 79 20 |o input |text by |
|000001c0| 77 72 69 74 69 6e 67 20 | 69 6e 20 61 20 70 72 6f |writing |in a pro|
|000001d0| 74 6f 49 6e 70 75 74 4c | 69 6e 65 0d 20 20 66 69 |toInputL|ine. fi|
|000001e0| 65 6c 64 20 69 6e 73 69 | 64 65 20 74 68 65 20 66 |eld insi|de the f|
|000001f0| 6c 6f 61 74 65 72 2e 0d | 2b 20 45 61 63 68 20 66 |loater..|+ Each f|
|00000200| 6c 6f 61 74 65 72 20 63 | 61 6e 20 62 65 20 64 72 |loater c|an be dr|
|00000210| 61 67 67 65 64 20 62 79 | 20 73 74 61 72 74 69 6e |agged by| startin|
|00000220| 67 20 61 74 20 61 6e 79 | 20 70 6f 69 6e 74 20 69 |g at any| point i|
|00000230| 6e 20 74 68 65 20 66 6c | 6f 61 74 65 72 20 74 68 |n the fl|oater th|
|00000240| 61 74 20 69 73 0d 20 20 | 6e 6f 74 20 69 6e 73 69 |at is. |not insi|
|00000250| 64 65 20 74 68 65 20 70 | 72 6f 74 6f 49 6e 70 75 |de the p|rotoInpu|
|00000260| 74 4c 69 6e 65 2e 0d 2a | 20 57 68 65 6e 20 64 72 |tLine..*| When dr|
|00000270| 61 67 67 65 64 2c 20 74 | 68 65 20 66 6c 6f 61 74 |agged, t|he float|
|00000280| 65 72 20 6d 6f 76 65 73 | 20 74 6f 20 74 68 65 20 |er moves| to the |
|00000290| 66 72 6f 6e 74 20 61 6e | 64 20 74 68 65 20 6f 74 |front an|d the ot|
|000002a0| 68 65 72 20 6f 62 6a 65 | 63 74 73 20 6f 6e 20 74 |her obje|cts on t|
|000002b0| 68 65 0d 20 20 73 63 72 | 65 65 6e 20 61 72 65 20 |he. scr|een are |
|000002c0| 72 65 64 72 61 77 6e 20 | 70 72 6f 70 65 72 6c 79 |redrawn |properly|
|000002d0| 2e 0d 2d 20 57 68 65 6e | 20 69 6e 66 6f 72 6d 61 |..- When| informa|
|000002e0| 74 69 6f 6e 20 69 6e 20 | 65 69 74 68 65 72 20 66 |tion in |either f|
|000002f0| 6c 6f 61 74 65 72 20 69 | 73 20 63 68 61 6e 67 65 |loater i|s change|
|00000300| 64 2c 20 74 68 65 20 6d | 61 69 6e 20 76 69 65 77 |d, the m|ain view|
|00000310| 20 75 70 64 61 74 65 73 | 20 69 74 73 0d 20 20 64 | updates| its. d|
|00000320| 69 73 70 6c 61 79 2e 20 | 20 53 70 65 63 69 66 69 |isplay. | Specifi|
|00000330| 63 61 6c 6c 79 2c 20 74 | 68 65 20 74 65 78 74 20 |cally, t|he text |
|00000340| 65 6e 74 65 72 65 64 20 | 69 6e 20 74 68 65 20 66 |entered |in the f|
|00000350| 69 72 73 74 20 66 6c 6f | 61 74 65 72 20 69 73 20 |irst flo|ater is |
|00000360| 72 65 70 65 61 74 65 64 | 20 4e 0d 20 20 74 69 6d |repeated| N. tim|
|00000370| 65 73 2c 20 77 68 65 72 | 65 20 4e 20 69 73 20 64 |es, wher|e N is d|
|00000380| 65 74 65 72 6d 69 6e 65 | 64 20 62 79 20 61 20 6e |etermine|d by a n|
|00000390| 75 6d 62 65 72 20 65 6e | 74 65 72 65 64 20 69 6e |umber en|tered in|
|000003a0| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 66 6c 6f 61 | the sec|ond floa|
|000003b0| 74 65 72 2e 0d 2d 20 49 | 6e 70 75 74 20 66 69 65 |ter..- I|nput fie|
|000003c0| 6c 64 73 20 75 73 65 20 | 74 77 6f 20 75 6e 64 6f |lds use |two undo|
|000003d0| 63 75 6d 65 6e 74 65 64 | 20 66 6f 6e 74 20 73 74 |cumented| font st|
|000003e0| 79 6c 65 73 20 28 74 73 | 43 6f 6e 64 65 6e 73 65 |yles (ts|Condense|
|000003f0| 20 61 6e 64 20 74 73 53 | 68 61 64 6f 77 29 2e 0d | and tsS|hadow)..|
|00000400| 0d 49 74 65 6d 20 22 2b | 22 20 77 61 73 20 6e 6f |.Item "+|" was no|
|00000410| 6e 2d 74 72 69 76 69 61 | 6c 2e 20 20 54 68 65 20 |n-trivia|l. The |
|00000420| 74 79 70 69 63 61 6c 20 | 61 70 70 72 6f 61 63 68 |typical |approach|
|00000430| 20 28 75 73 69 6e 67 20 | 61 20 76 69 65 77 43 6c | (using |a viewCl|
|00000440| 69 63 6b 53 63 72 69 70 | 74 20 69 6e 20 74 68 65 |ickScrip|t in the|
|00000450| 0d 66 6c 6f 61 74 65 72 | 27 73 20 74 65 6d 70 6c |.floater|'s templ|
|00000460| 61 74 65 20 74 6f 20 64 | 6f 20 74 68 65 20 64 72 |ate to d|o the dr|
|00000470| 61 67 67 69 6e 67 29 20 | 64 6f 65 73 6e 27 74 20 |agging) |doesn't |
|00000480| 77 6f 72 6b 20 62 65 63 | 61 75 73 65 20 69 74 20 |work bec|ause it |
|00000490| 65 6e 64 73 20 75 70 20 | 63 61 74 63 68 69 6e 67 |ends up |catching|
|000004a0| 0d 63 6c 69 63 6b 73 20 | 74 68 61 74 20 63 6f 6d |.clicks |that com|
|000004b0| 65 20 66 72 6f 6d 20 74 | 68 65 20 70 72 6f 74 6f |e from t|he proto|
|000004c0| 49 6e 70 75 74 4c 69 6e | 65 3b 20 74 68 69 73 20 |InputLin|e; this |
|000004d0| 63 61 75 73 65 73 20 74 | 68 65 20 70 72 6f 74 6f |causes t|he proto|
|000004e0| 49 6e 70 75 74 4c 69 6e | 65 20 74 6f 0d 64 72 61 |InputLin|e to.dra|
|000004f0| 67 20 61 6e 64 20 74 6f | 20 6e 6f 74 20 61 63 63 |g and to| not acc|
|00000500| 65 70 74 20 77 72 69 74 | 74 65 6e 20 69 6e 70 75 |ept writ|ten inpu|
|00000510| 74 2e 0d 0d 54 68 65 20 | 73 6f 6c 75 74 69 6f 6e |t...The |solution|
|00000520| 20 74 6f 20 74 68 61 74 | 20 77 61 73 20 74 6f 20 | to that| was to |
|00000530| 75 73 65 20 74 68 65 20 | 70 72 6f 74 6f 53 74 61 |use the |protoSta|
|00000540| 74 69 63 54 65 78 74 20 | 66 69 65 6c 64 2c 20 61 |ticText |field, a|
|00000550| 20 73 69 62 6c 69 6e 67 | 20 6f 66 20 74 68 65 0d | sibling| of the.|
|00000560| 70 72 6f 74 6f 49 6e 70 | 75 74 4c 69 6e 65 2c 20 |protoInp|utLine, |
|00000570| 74 6f 20 63 61 74 63 68 | 20 63 6c 69 63 6b 73 20 |to catch| clicks |
|00000580| 61 6e 64 20 70 61 73 73 | 20 61 20 44 72 61 67 20 |and pass| a Drag |
|00000590| 6d 65 73 73 61 67 65 20 | 74 6f 20 69 74 73 20 70 |message |to its p|
|000005a0| 61 72 65 6e 74 2e 0d 0d | 54 68 65 20 70 72 6f 70 |arent...|The prop|
|000005b0| 65 72 20 72 65 64 72 61 | 77 69 6e 67 20 28 69 74 |er redra|wing (it|
|000005c0| 65 6d 20 22 2a 22 29 20 | 77 61 73 20 62 79 20 66 |em "*") |was by f|
|000005d0| 61 72 20 74 68 65 20 6d | 6f 73 74 20 6e 6f 6e 2d |ar the m|ost non-|
|000005e0| 69 6e 74 75 69 74 69 76 | 65 2e 20 20 53 69 6d 70 |intuitiv|e. Simp|
|000005f0| 6c 79 0d 63 72 65 61 74 | 69 6e 67 20 74 77 6f 20 |ly.creat|ing two |
|00000600| 70 72 6f 74 6f 46 6c 6f | 61 74 4e 47 6f 20 76 69 |protoFlo|atNGo vi|
|00000610| 65 77 73 20 61 6e 64 20 | 61 6c 6c 6f 77 69 6e 67 |ews and |allowing|
|00000620| 20 74 68 65 6d 20 74 6f | 20 62 65 20 64 72 61 67 | them to| be drag|
|00000630| 67 65 64 20 64 6f 65 73 | 6e 27 74 20 77 6f 72 6b |ged does|n't work|
|00000640| 0d 2d 2d 20 77 68 69 63 | 68 65 76 65 72 20 76 69 |.-- whic|hever vi|
|00000650| 65 77 20 69 73 20 69 6e | 20 66 72 6f 6e 74 20 67 |ew is in| front g|
|00000660| 65 74 73 20 64 72 61 77 | 6e 20 70 72 6f 70 65 72 |ets draw|n proper|
|00000670| 6c 79 20 61 6c 6c 20 74 | 68 65 20 74 69 6d 65 2c |ly all t|he time,|
|00000680| 20 62 75 74 20 74 68 65 | 20 6f 74 68 65 72 0d 66 | but the| other.f|
|00000690| 6c 6f 61 74 65 72 20 64 | 6f 65 73 6e 27 74 20 67 |loater d|oesn't g|
|000006a0| 65 74 20 64 72 61 77 6e | 20 70 72 6f 70 65 72 6c |et drawn| properl|
|000006b0| 79 20 69 66 20 69 74 20 | 69 73 20 70 61 72 74 6c |y if it |is partl|
|000006c0| 79 20 63 6f 76 65 72 65 | 64 20 62 79 20 74 68 65 |y covere|d by the|
|000006d0| 20 66 69 72 73 74 0d 66 | 6c 6f 61 74 65 72 20 61 | first.f|loater a|
|000006e0| 6e 64 20 69 73 20 74 68 | 65 6e 20 64 72 61 67 67 |nd is th|en dragg|
|000006f0| 65 64 2e 0d 0d 54 68 65 | 20 73 6f 6c 75 74 69 6f |ed...The| solutio|
|00000700| 6e 20 66 6f 72 20 74 68 | 69 73 20 69 73 20 74 6f |n for th|is is to|
|00000710| 20 62 72 69 6e 67 20 74 | 68 65 20 66 6c 6f 61 74 | bring t|he float|
|00000720| 65 72 20 74 6f 20 74 68 | 65 20 66 72 6f 6e 74 20 |er to th|e front |
|00000730| 62 65 66 6f 72 65 20 64 | 72 61 67 67 69 6e 67 2e |before d|ragging.|
|00000740| 20 0d 54 68 69 73 20 69 | 73 20 61 63 63 6f 6d 70 | .This i|s accomp|
|00000750| 6c 69 73 68 65 64 20 62 | 79 20 74 68 65 20 66 6f |lished b|y the fo|
|00000760| 6c 6c 6f 77 69 6e 67 3a | 0d 0d 20 20 74 68 65 46 |llowing:|.. theF|
|00000770| 6c 6f 61 74 65 72 3a 48 | 69 64 65 28 29 3b 0d 20 |loater:H|ide();. |
|00000780| 20 74 68 65 46 6c 6f 61 | 74 65 72 3a 53 68 6f 77 | theFloa|ter:Show|
|00000790| 28 29 3b 0d 20 20 74 68 | 65 46 6c 6f 61 74 65 72 |();. th|eFloater|
|000007a0| 3a 44 69 72 74 79 28 29 | 3b 0d 20 20 52 65 66 72 |:Dirty()|;. Refr|
|000007b0| 65 73 68 56 69 65 77 73 | 28 29 3b 0d 0d 54 68 65 |eshViews|();..The|
|000007c0| 20 6c 61 73 74 20 74 77 | 6f 20 6c 69 6e 65 73 20 | last tw|o lines |
|000007d0| 63 61 6e 20 62 65 20 6c | 65 66 74 20 6f 75 74 20 |can be l|eft out |
|000007e0| 69 66 20 79 6f 75 20 68 | 61 76 65 20 64 65 66 69 |if you h|ave defi|
|000007f0| 6e 65 64 20 61 20 76 69 | 65 77 45 66 66 65 63 74 |ned a vi|ewEffect|
|00000800| 20 66 6f 72 20 79 6f 75 | 72 0d 66 6c 6f 61 74 65 | for you|r.floate|
|00000810| 72 2e 20 20 54 6f 20 69 | 6c 6c 75 73 74 72 61 74 |r. To i|llustrat|
|00000820| 65 20 74 68 65 20 64 69 | 66 66 65 72 65 6e 63 65 |e the di|fference|
|00000830| 20 62 65 74 77 65 65 6e | 20 61 20 76 69 65 77 45 | between| a viewE|
|00000840| 66 66 65 63 74 20 61 6e | 64 20 74 68 65 0d 44 69 |ffect an|d the.Di|
|00000850| 72 74 79 28 29 2f 52 65 | 66 72 65 73 68 56 69 65 |rty()/Re|freshVie|
|00000860| 77 73 28 29 20 6d 65 74 | 68 6f 64 2c 20 74 68 65 |ws() met|hod, the|
|00000870| 20 74 77 6f 20 66 6c 6f | 61 74 65 72 73 20 61 72 | two flo|aters ar|
|00000880| 65 20 64 6f 6e 65 20 69 | 6e 20 74 77 6f 20 64 69 |e done i|n two di|
|00000890| 66 66 65 72 65 6e 74 0d | 77 61 79 73 2e 20 54 68 |fferent.|ways. Th|
|000008a0| 65 20 74 65 78 74 20 66 | 6c 6f 61 74 65 72 20 28 |e text f|loater (|
|000008b0| 22 53 61 79 20 77 68 61 | 74 3f 22 29 20 75 73 65 |"Say wha|t?") use|
|000008c0| 73 20 76 69 65 77 45 66 | 66 65 63 74 2c 20 61 6e |s viewEf|fect, an|
|000008d0| 64 20 74 68 65 20 6e 75 | 6d 62 65 72 0d 66 6c 6f |d the nu|mber.flo|
|000008e0| 61 74 65 72 20 28 22 48 | 6f 77 20 6d 61 6e 79 20 |ater ("H|ow many |
|000008f0| 74 69 6d 65 73 3f 22 29 | 20 75 73 65 73 20 44 69 |times?")| uses Di|
|00000900| 72 74 79 28 29 2f 52 65 | 66 72 65 73 68 56 69 65 |rty()/Re|freshVie|
|00000910| 77 73 28 29 2e 20 20 59 | 6f 75 20 77 69 6c 6c 20 |ws(). Y|ou will |
|00000920| 70 72 6f 62 61 62 6c 79 | 0d 6e 6f 74 69 63 65 20 |probably|.notice |
|00000930| 74 68 61 74 20 74 68 65 | 20 22 53 61 79 20 77 68 |that the| "Say wh|
|00000940| 61 74 3f 22 20 66 6c 6f | 61 74 65 72 20 72 65 73 |at?" flo|ater res|
|00000950| 70 6f 6e 64 73 20 66 61 | 73 74 65 72 2e 0d 0d 55 |ponds fa|ster...U|
|00000960| 73 65 66 75 6c 20 74 68 | 69 6e 67 73 20 74 6f 20 |seful th|ings to |
|00000970| 6e 6f 74 65 3a 0d 0d 2d | 20 54 68 65 20 77 6f 72 |note:..-| The wor|
|00000980| 64 20 61 6e 64 20 63 6f | 75 6e 74 20 61 72 65 20 |d and co|unt are |
|00000990| 72 65 6d 65 6d 62 65 72 | 65 64 20 77 68 65 6e 20 |remember|ed when |
|000009a0| 79 6f 75 20 63 6c 6f 73 | 65 20 61 6e 64 20 72 65 |you clos|e and re|
|000009b0| 2d 6f 70 65 6e 20 74 68 | 65 20 61 70 70 6c 69 63 |-open th|e applic|
|000009c0| 61 74 69 6f 6e 0d 28 62 | 75 74 20 6e 6f 74 20 61 |ation.(b|ut not a|
|000009d0| 63 72 6f 73 73 20 72 65 | 62 6f 6f 74 73 29 20 62 |cross re|boots) b|
|000009e0| 65 63 61 75 73 65 20 74 | 68 65 20 61 70 70 6c 69 |ecause t|he appli|
|000009f0| 63 61 74 69 6f 6e 27 73 | 20 76 69 65 77 20 66 72 |cation's| view fr|
|00000a00| 61 6d 65 20 73 74 61 79 | 73 20 69 6e 20 6d 65 6d |ame stay|s in mem|
|00000a10| 6f 72 79 2e 20 0d 48 6f | 77 65 76 65 72 2c 20 61 |ory. .Ho|wever, a|
|00000a20| 6c 6c 20 63 68 69 6c 64 | 20 76 69 65 77 73 20 61 |ll child| views a|
|00000a30| 72 65 20 64 65 6c 65 74 | 65 64 20 2d 2d 20 73 6f |re delet|ed -- so|
|00000a40| 20 69 74 20 64 6f 65 73 | 20 6e 6f 74 20 72 65 6d | it does| not rem|
|00000a50| 65 6d 62 65 72 20 74 68 | 65 20 70 6f 73 69 74 69 |ember th|e positi|
|00000a60| 6f 6e 73 0d 6f 66 20 74 | 68 65 20 66 6c 6f 61 74 |ons.of t|he float|
|00000a70| 65 72 73 2e 0d 0d 2d 20 | 54 68 65 20 66 75 6e 63 |ers...- |The func|
|00000a80| 74 69 6f 6e 20 77 68 69 | 63 68 20 67 65 6e 65 72 |tion whi|ch gener|
|00000a90| 61 74 65 73 20 74 68 65 | 20 74 65 78 74 20 62 79 |ates the| text by|
|00000aa0| 20 72 65 70 65 61 74 69 | 6e 67 20 74 68 65 20 77 | repeati|ng the w|
|00000ab0| 6f 72 64 20 4e 20 74 69 | 6d 65 73 20 75 73 65 73 |ord N ti|mes uses|
|00000ac0| 20 61 0d 6c 6f 67 28 4e | 29 20 61 6c 67 6f 72 69 | a.log(N|) algori|
|00000ad0| 74 68 6d 20 66 6f 72 20 | 73 70 65 65 64 2e 20 20 |thm for |speed. |
|00000ae0| 54 68 65 20 6d 65 74 68 | 6f 64 20 75 73 65 64 20 |The meth|od used |
|00000af0| 69 73 20 74 6f 20 73 74 | 61 72 74 20 77 69 74 68 |is to st|art with|
|00000b00| 20 61 20 73 69 6e 67 6c | 65 0d 6f 63 63 75 72 72 | a singl|e.occurr|
|00000b10| 61 6e 63 65 20 6f 66 20 | 74 68 65 20 77 6f 72 64 |ance of |the word|
|00000b20| 2c 20 74 68 65 6e 20 74 | 6f 20 72 65 70 65 61 74 |, then t|o repeat|
|00000b30| 65 64 6c 79 20 64 6f 75 | 62 6c 65 20 61 6e 64 20 |edly dou|ble and |
|00000b40| 61 64 64 20 6f 6e 65 20 | 69 66 20 74 68 65 20 6e |add one |if the n|
|00000b50| 65 78 74 20 62 69 74 0d | 69 6e 20 74 68 65 20 63 |ext bit.|in the c|
|00000b60| 6f 75 6e 74 20 69 73 20 | 73 65 74 2e 20 20 49 74 |ount is |set. It|
|00000b70| 27 73 20 6b 69 6e 64 20 | 6f 66 20 61 6e 61 6c 61 |'s kind |of anala|
|00000b80| 67 6f 75 73 20 74 6f 20 | 74 68 65 20 22 52 75 73 |gous to |the "Rus|
|00000b90| 73 69 61 6e 20 70 65 61 | 73 61 6e 74 22 0d 6d 75 |sian pea|sant".mu|
|00000ba0| 6c 74 69 70 6c 69 63 61 | 74 69 6f 6e 20 6d 65 74 |ltiplica|tion met|
|00000bb0| 68 6f 64 2e 20 20 28 49 | 66 20 49 20 68 61 64 20 |hod. (I|f I had |
|00000bc0| 75 73 65 64 20 61 20 73 | 69 6d 70 6c 65 20 22 66 |used a s|imple "f|
|00000bd0| 6f 72 20 69 3a 3d 31 20 | 74 6f 20 63 6f 75 6e 74 |or i:=1 |to count|
|00000be0| 20 64 6f 22 20 6c 6f 6f | 70 20 69 74 0d 77 6f 75 | do" loo|p it.wou|
|00000bf0| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 2a 6d 75 |ld have |been *mu|
|00000c00| 63 68 2a 20 73 6c 6f 77 | 65 72 20 77 68 65 6e 20 |ch* slow|er when |
|00000c10| 74 68 65 20 63 6f 75 6e | 74 20 69 73 20 69 6e 20 |the coun|t is in |
|00000c20| 74 68 65 20 68 75 6e 64 | 72 65 64 73 20 6f 72 20 |the hund|reds or |
|00000c30| 74 68 6f 75 73 61 6e 64 | 73 2e 29 0d 0d 2d 20 49 |thousand|s.)..- I|
|00000c40| 20 68 61 76 65 20 74 72 | 69 65 64 20 74 68 65 20 | have tr|ied the |
|00000c50| 75 6e 64 6f 63 75 6d 65 | 6e 74 65 64 20 22 63 6f |undocume|nted "co|
|00000c60| 6e 64 65 6e 73 65 64 22 | 20 66 6f 6e 74 20 73 74 |ndensed"| font st|
|00000c70| 79 6c 65 20 77 69 74 68 | 20 64 69 66 66 65 72 65 |yle with| differe|
|00000c80| 6e 74 20 73 69 7a 65 73 | 2c 0d 61 6e 64 20 69 74 |nt sizes|,.and it|
|00000c90| 20 64 6f 65 73 6e 27 74 | 20 73 65 65 6d 20 74 6f | doesn't| seem to|
|00000ca0| 20 77 6f 72 6b 2e 20 20 | 49 74 20 77 6f 72 6b 73 | work. |It works|
|00000cb0| 20 77 69 74 68 20 31 34 | 2c 20 74 68 6f 75 67 68 | with 14|, though|
|00000cc0| 2c 20 70 72 6f 62 61 62 | 6c 79 20 62 65 63 61 75 |, probab|ly becau|
|00000cd0| 73 65 20 31 34 0d 69 73 | 20 61 76 61 69 6c 61 62 |se 14.is| availab|
|00000ce0| 6c 65 20 61 73 20 61 20 | 22 62 69 74 6d 61 70 20 |le as a |"bitmap |
|00000cf0| 66 6f 6e 74 22 20 69 6e | 20 74 68 65 20 4e 65 77 |font" in| the New|
|00000d00| 74 6f 6e 2e 20 20 54 68 | 69 73 20 69 73 20 70 72 |ton. Th|is is pr|
|00000d10| 6f 62 61 62 6c 79 20 77 | 68 79 20 74 68 65 0d 63 |obably w|hy the.c|
|00000d20| 6f 6e 64 65 6e 73 65 64 | 20 73 74 79 6c 65 20 69 |ondensed| style i|
|00000d30| 73 20 6e 6f 74 20 64 6f | 63 75 6d 65 6e 74 65 64 |s not do|cumented|
|00000d40| 2e 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 02 66 | 00 00 01 66 00 00 00 32 |.......f|...f...2|
|00000d90| 00 64 7f cb 01 00 60 7f | 02 42 28 00 6e 7f 02 42 |.d....`.|.B(.n..B|
|00000da0| 28 00 6f 8c 5b 65 4e ff | 00 00 00 fb a8 9f 65 72 |(.o.[eN.|......er|
|00000db0| 0f 52 50 4d 44 65 6d 6f | 31 20 52 45 41 44 4d 45 |.RPMDemo|1 README|
|00000dc0| 02 00 00 00 50 61 72 74 | 53 49 54 78 00 00 00 00 |....Part|SITx....|
|00000dd0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 a9 7c 5b 74 00 00 | 00 00 00 00 02 98 48 78 |...|[t..|......Hx|
|00000e00| 56 ea 2f 2e ff fc 4e ad | 26 32 26 40 96 68 54 02 |V./...N.|&2&@.hT.|
|00000e10| 67 16 42 07 55 01 10 07 | 56 01 70 02 56 52 50 01 |g.B.U...|V.p.VRP.|
|00000e20| 04 f2 68 4f 55 56 5a 4f | 60 4c a8 7f 01 08 a8 e8 |..hOUVZO|`L......|
|00000e30| 01 00 4f 68 4f 5a 4f 60 | 50 01 13 72 6d 73 c4 79 |..OhOZO`|P..rms.y|
|00000e40| 65 4e 63 11 fe fc 5c 6a | 70 4f 8c 4d 52 51 23 24 |eNc...\j|pO.MRQ#$|
|00000e50| 96 68 54 01 67 70 76 25 | 01 42 10 d9 02 00 13 67 |.hT.gpv%|.B.....g|
|00000e60| 1a 86 01 51 48 57 25 60 | 7f 23 14 00 54 4e 91 4f |...QHW%`|.#..TN.O|
|00000e70| ef 00 0c 01 60 18 86 01 | 0b ea 57 25 60 7f 23 26 |....`...|..W%`.#&|
|00000e80| 00 00 01 62 00 28 00 1e | 02 21 01 8c 00 28 00 00 |...b.(..|.!...(..|
|00000e90| 00 4c 00 00 00 4c 00 00 | 00 00 00 04 00 08 00 00 |.L...L..|........|
|00000ea0| 06 4d 6f 6e 61 63 6f 00 | 00 00 00 00 00 00 00 00 |.Monaco.|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 04 00 00 03 00 85 00 48 | 00 48 00 00 00 00 02 da |.......H|.H......|
|00000ef0| 02 28 ff e1 ff e2 02 f9 | 02 46 43 02 05 28 03 fc |.(......|.FC..(..|
|00000f00| 00 02 00 38 00 48 00 48 | ff e1 ff e2 02 f9 02 46 |...8.H.H|.......F|
|00000f10| 30 00 00 64 ba be 00 00 | 00 01 00 46 30 00 6c 86 |0..d....|...F0.l.|
|00000f20| 00 01 27 0f 00 01 00 01 | 00 00 00 00 00 00 00 00 |..'.....|........|
|00000f30| 00 00 01 00 00 01 ab ba | 00 00 00 00 00 04 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 02 00 02 |........|........|
|00000f50| 00 01 00 00 00 00 00 00 | 00 00 00 16 00 07 00 00 |........|........|
|00000f60| 07 43 6f 75 72 69 65 72 | 00 00 00 00 00 00 00 00 |.Courier|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 04 01 00 00 00 00 00 | 00 00 01 01 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 01 01 | 00 01 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 01 00 00 00 02 66 00 00 |........|.....f..|
|00000ff0| 01 66 00 00 00 32 00 db | aa fc 09 30 00 00 00 1c |.f...2..|...0....|
|00001000| 00 32 00 00 42 42 53 52 | 00 00 00 0a 01 03 ff ff |.2..BBSR|........|
|00001010| 00 00 00 00 00 db a9 38 | 00 00 00 00 00 00 00 00 |.......8|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+